package com.hengfei.dao;

import com.hengfei.pojo.TCheckitem;
import com.hengfei.pojo.TCheckitemExample;

import java.util.ArrayList;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TCheckitemMapper {
    int countByExample(TCheckitemExample example);

    int deleteByExample(TCheckitemExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TCheckitem record);

    int insertSelective(TCheckitem record);

    List<TCheckitem> selectByExample(TCheckitemExample example);

    TCheckitem selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TCheckitem record, @Param("example") TCheckitemExample example);

    int updateByExample(@Param("record") TCheckitem record, @Param("example") TCheckitemExample example);

    int updateByPrimaryKeySelective(TCheckitem record);

    int updateByPrimaryKey(TCheckitem record);

    //根据checkgroup的id查询对应的checkitem的信息
    ArrayList<TCheckitem> selectCheckitemsByCheckgroupId(Integer id);
}